Measure gait spatiotemporal parameters and kinematics from optoelectronic system